home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3c / a64l.z / a64l
Encoding:
Text File  |  1998-10-20  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. AAAA66664444LLLL((((3333CCCC))))                                                              AAAA66664444LLLL((((3333CCCC))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      a64l, l64a - convert between long integer and base-64 ASCII string
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      lllloooonnnngggg aaaa66664444llll((((cccchhhhaaaarrrr ****ssss))));;;;
  13.  
  14.      cccchhhhaaaarrrr ****llll66664444aaaa((((lllloooonnnngggg llll))));;;;
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      These functions are used to maintain numbers stored in _b_a_s_e-_6_4 ASCII
  18.      characters.  This is a notation by which long integers can be represented
  19.      by up to six characters; each character represents a ``digit'' in a
  20.      radix-64 notation.
  21.  
  22.      The characters used to represent ``digits'' are .... for 0, //// for 1, 0000
  23.      through 9999 for 2-11, AAAA through ZZZZ for 12-37, and aaaa through zzzz for 38-63.
  24.  
  25.      _a_6_4_l takes a pointer to a null-terminated base-64 representation and
  26.      returns a corresponding lllloooonnnngggg value.  If the string pointed to by _s
  27.      contains more than six characters, _a_6_4_l will use the first six.
  28.  
  29.      _a_6_4_l scans the character string from left to right, decoding each
  30.      character as a 6 bit Radix 64 number.
  31.  
  32.      _l_6_4_a takes a lllloooonnnngggg argument and returns a pointer to the corresponding
  33.      base-64 representation.  If the argument is 0, _l_6_4_a returns a pointer to
  34.      a null string.
  35.  
  36. CCCCAAAAVVVVEEEEAAAATTTT
  37.      The value returned by _l_6_4_a is a pointer into a static buffer, the
  38.      contents of which are overwritten by each call.
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.